package cn.wires.lu.charts.sao;

import cn.wires.lu.charts.entity.FundBaseInfo;
import org.springframework.stereotype.Component;


@Component
public class ChartsFeignCallBack implements ChartsFeign{

    /**
     * 可理解为熔断降级的方法
     */
    @Override
    public FundBaseInfo findById(Integer id) {
        FundBaseInfo baseInfo=new FundBaseInfo();
        baseInfo.setFundNo("feign调用触发熔断机制");
        return baseInfo;
    }
}
